home *** CD-ROM | disk | FTP | other *** search
- on SHIFTHEAD
- global GRIDV, GRIDH, GRIDY, TURN
- repeat with N = 1 to 140
- if (TURN = 2) and (getAt(GRIDV, N) = 3) then
- set the locH of sprite 29 to getAt(GRIDH, N)
- set the locV of sprite 29 to getAt(GRIDY, N)
- set the castNum of sprite 29 to 70
- updateStage()
- end if
- if (TURN = 1) and (getAt(GRIDV, N) = 2) then
- set the locH of sprite 10 to getAt(GRIDH, N)
- set the locV of sprite 10 to getAt(GRIDY, N)
- set the castNum of sprite 10 to 69
- updateStage()
- end if
- end repeat
- REMOVESPRITE()
- end
-